@include('home.public.css')

<body class="common-home res layout-1">

<div id="wrapper" class="wrapper-fluid banners-effect-3">

    <!-- Header Container  -->
@include('home.public.header')
<!-- //Header Container  -->
    <!-- Main Container  -->
    <div class="main-container container">
        <div id="content">
            <div class="content-top-w">

                <div class="col-lg-2 col-md-12 col-sm-12 col-xs-12 main-left">
                    <div class="module col1 hidden-sm hidden-xs"></div>
                </div>
                <div class="col-lg-10 col-md-12 col-sm-12 col-xs-12 main-right">
                    <div class="slider-container row">

                        <div class="col-lg-9 col-md-12 col-sm-12 col-xs-12 col2">
                            <div class="module sohomepage-slider ">
                                <div class="yt-content-slider" data-rtl="yes" data-autoplay="no" data-autoheight="no"
                                     data-delay="4" data-speed="0.6" data-margin="0" data-items_column00="1"
                                     data-items_column0="1" data-items_column1="1" data-items_column2="1"
                                     data-items_column3="1" data-items_column4="1" data-arrows="no"
                                     data-pagination="yes" data-lazyload="yes" data-loop="no" data-hoverpause="yes">
                                    @foreach($carousels as $k=>$icon)
                                        @if($k==0)
                                        <div class="yt-content-slide">
                                            <a href="http://shop.mumeng.xyz/list/13"><img src="{{$icon}}" alt="slider1"
                                                             class="img-responsive"></a>
                                        </div>
                                        @endif
                                            @if($k==1)
                                                <div class="yt-content-slide">
                                                    <a href="http://shop.mumeng.xyz/list/14"><img src="{{$icon}}" alt="slider1"
                                                                                                  class="img-responsive"></a>
                                                </div>
                                            @endif
                                            @if($k==2)
                                                <div class="yt-content-slide">
                                                    <a href=""><img src="{{$icon}}" alt="slider1"
                                                                                                  class="img-responsive"></a>
                                                </div>
                                            @endif
                                    @endforeach
                                </div>

                                <div class="loadeding"></div>
                            </div>

                        </div>

                        <div class="col-lg-3 col-md-12 col-sm-12 col-xs-12 col3">
                            <div class="module product-simple extra-layout1">
                                <h3 class="modtitle">
                                    <span>畅销品</span>
                                </h3>
                                <div class="modcontent">
                                    <div id="so_extra_slider_1" class="so-extraslider">
                                        <!-- Begin extraslider-inner -->
                                        <div class="yt-content-slider extraslider-inner" data-rtl="yes"
                                             data-pagination="yes" data-autoplay="no" data-delay="4" data-speed="0.6"
                                             data-margin="0" data-items_column00="1" data-items_column0="1"
                                             data-items_column1="1" data-items_column2="1" data-items_column3="1"
                                             data-items_column4="1" data-arrows="no" data-lazyload="yes" data-loop="no"
                                             data-buttonpage="top">
                                            {{--畅销品--}}

                                            <div class="item ">
                                                @foreach($newGoods as $k=>$good)
                                                    @if($k>20)
                                                        @if($k<25)
                                                <div class="product-layout item-inner style1 ">
                                                    <div class="item-image">
                                                        <div class="item-img-info">
                                                            <a href="{{route('showGoods',$good)}}" target="_self"
                                                               title="Mandouille short ">
                                                                <img
                                                                    src="{{$good['pictures'][0]}}"
                                                                    alt="Mandouille short">
                                                            </a>
                                                        </div>

                                                    </div>
                                                    <div class="item-info">
                                                        <div class="item-title" style="width: 80%; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
                                                            <a  href="{{route('showGoods',$good)}}" target="_self"
                                                               title="Mandouille short">{{$good['name']}}</a>
                                                        </div>
                                                        <div class="rating">
                                                            @foreach([1,2,3,4,5] as $k=>$v)
                                                                @if($k<=mt_rand(3,5))
                                                                    <span class=",fa fa-stack">
                                                                <i class="fa fa-star fa-stack-2x"></i>
                                                            </span>
                                                                @endif
                                                            @endforeach
                                                        </div>
                                                        <div class="content_price price">
                                                            <span class="price-new product-price">¥{{$good['price']}}</span>&nbsp;&nbsp;

                                                            <span class="price-old">¥{{$good['price']+mt_rand(20,100)}}</span>&nbsp;

                                                        </div>
                                                    </div>
                                                    <!-- End item-info -->
                                                    <!-- End item-wrap-inner -->
                                                </div>
                                                        @endif
                                                    @endif
                                                @endforeach
                                            </div>


                                            <div class="item ">
                                                @foreach($newGoods as $k=>$good)
                                                    @if($k>30)
                                                        @if($k<36)
                                                            <div class="product-layout item-inner style1 ">
                                                                <div class="item-image">
                                                                    <div class="item-img-info">
                                                                        <a href="{{route('showGoods',$good)}}" target="_self"
                                                                           title="Mandouille short ">
                                                                            <img
                                                                                src="{{$good['pictures'][0]}}"
                                                                                alt="Mandouille short">
                                                                        </a>
                                                                    </div>

                                                                </div>
                                                                <div class="item-info">
                                                                    <div class="item-title" style="width: 80%; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
                                                                        <a  href="{{route('showGoods',$good)}}" target="_self"
                                                                           title="Mandouille short">{{$good['name']}}</a>
                                                                    </div>
                                                                    <div class="rating">
                                                                        @foreach([1,2,3,4,5] as $k=>$v)
                                                                            @if($k<=mt_rand(3,5))
                                                                                <span class=",fa fa-stack">
                                                                <i class="fa fa-star fa-stack-2x"></i>
                                                            </span>
                                                                            @endif
                                                                        @endforeach
                                                                    </div>
                                                                    <div class="content_price price">
                                                                        <span class="price-new product-price">¥{{$good['price']}}</span>&nbsp;&nbsp;

                                                                        <span class="price-old">¥{{$good['price']+mt_rand(20,100)}}</span>&nbsp;

                                                                    </div>
                                                                </div>
                                                                <!-- End item-info -->
                                                                <!-- End item-wrap-inner -->
                                                            </div>
                                                        @endif
                                                    @endif
                                                @endforeach
                                            </div>

                                            {{--畅销品--}}
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row content-main-w">

                <div class="col-lg-2 col-md-3 col-sm-4 col-xs-12 main-left">

                    <div class="module">
                        <div class="banners banners2">
                            <div class="banner">
                                <a href="http://shop.mumeng.xyz/list/10"><img src="{{asset('shop/image/index/nvzhuang.jpg')}}" alt="image"></a>
                            </div>
                        </div>
                    </div>
                    {{--新品--}}
                    <div class="module product-simple extra-layout1">
                        <h3 class="modtitle">
                            <span>新品</span>
                        </h3>
                        <div class="modcontent">
                            <div id="so_extra_slider_1" class="so-extraslider">
                                <!-- Begin extraslider-inner -->
                                <div class="yt-content-slider extraslider-inner" data-rtl="yes" data-pagination="yes"
                                     data-autoplay="no" data-delay="4" data-speed="0.6" data-margin="0"
                                     data-items_column00="1" data-items_column0="1" data-items_column1="1"
                                     data-items_column2="1" data-items_column3="1" data-items_column4="1"
                                     data-arrows="no" data-lazyload="yes" data-loop="no" data-buttonpage="top">
                                    {{--新品--}}
                                    <div class="item ">
                                        @foreach($newGoods as $k=>$newGood)
                                            @if($k<4)
                                                <div class="product-layout item-inner style1 ">
                                                    <div class="item-image">
                                                        <div class="item-img-info">
                                                            <a href="product.html" target="_self"
                                                               title="Mandouille short "><img
                                                                    src="{{$newGood->pictures[0]}}"></a>
                                                        </div>
                                                    </div>
                                                    <div class="item-info">
                                                        <div class="item-title" style="width: 80%; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
                                                            <a
                                                               href="product.html" target="_self"
                                                               title="{{$newGood->name}}">{{$newGood->name}} </a>
                                                        </div>
                                                        <div class="rating">
                                                            <div class="ratings">
                                                                <div class="rating-box">
                                                                    @foreach([1,2,3,4,5] as $k=>$v)
                                                                        @if($k<=mt_rand(3,5))
                                                                            <span class=",fa fa-stack">
                                                                <i class="fa fa-star fa-stack-2x"></i>
                                                            </span>
                                                                        @endif
                                                                    @endforeach
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="content_price price">
                                                            <span
                                                                class="price-new product-price">¥{{$newGood->price}} </span>&nbsp;&nbsp;

                                                            <span
                                                                class="price-old">¥{{$newGood->price+mt_rand(20,100)}} </span>&nbsp;

                                                        </div>
                                                    </div>
                                                    <!-- End item-info -->
                                                    <!-- End item-wrap-inner -->
                                                </div>
                                            @endif
                                        @endforeach
                                    </div>
                                    <div class="item ">
                                        @foreach($newGoods as $k=> $newGood)
                                            @if($k>4)
                                                @if($k<9)
                                                    <div class="product-layout item-inner style1 ">
                                                        <div class="item-image">
                                                            <div class="item-img-info">
                                                                <a href="{{route('showGoods',$newGood)}}" target="_self"
                                                                   title="Mandouille short "><img
                                                                        src="{{$newGood->pictures[0]}}"></a>
                                                            </div>
                                                        </div>
                                                        <div class="item-info">
                                                            <div class="item-title">
                                                                <a style="width: 100%; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"
                                                                   href="{{route('showGoods',$newGood)}}" target="_self"
                                                                   title="{{$newGood->name}}">{{$newGood->name}} </a>
                                                            </div>
                                                            <div class="rating">
                                                                <div class="ratings">
                                                                    <div class="rating-box">
                                                                        @foreach([1,2,3,4,5] as $k=>$v)
                                                                            @if($k<=mt_rand(3,5))
                                                                                <span class=",fa fa-stack">
                                                                <i class="fa fa-star fa-stack-2x"></i>
                                                            </span>
                                                                            @endif
                                                                        @endforeach
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="content_price price">
                                                                <span
                                                                    class="price-new product-price">¥{{$newGood->price}} </span>&nbsp;&nbsp;

                                                                <span
                                                                    class="price-old">¥{{$newGood->price+mt_rand(20,100)}} </span>&nbsp;

                                                            </div>
                                                        </div>
                                                        <!-- End item-info -->
                                                        <!-- End item-wrap-inner -->
                                                    </div>
                                                @endif
                                            @endif
                                        @endforeach
                                    </div>
                                    {{--新品--}}
                                </div>
                                <!--End extraslider-inner -->
                            </div>
                        </div>
                    </div>
                    <div class="module">
                        <div class="banners banners2">
                            <div class="banner">
                                <a href="http://shop.mumeng.xyz/list/15"><img src="{{asset('shop/image/index/nanzhuang.jpg')}}" alt="image"></a>
                            </div>
                        </div>
                    </div>
                    <div class="module extra">
                        <h3 class="modtitle">
                            <span>推荐</span>
                        </h3>
                        <div class="modcontent">
                            <div id="so_extra_slider_1" class="so-extraslider">
                                <!-- Begin extraslider-inner -->
                                <div class="products-list yt-content-slider extraslider-inner" data-rtl="yes"
                                     data-pagination="yes" data-autoplay="no" data-delay="4" data-speed="0.6"
                                     data-margin="0" data-items_column00="1" data-items_column0="1"
                                     data-items_column1="1" data-items_column2="1" data-items_column3="1"
                                     data-items_column4="1" data-arrows="no" data-lazyload="yes" data-loop="no"
                                     data-buttonpage="top">
                                    {{--推荐--}}
                                    @foreach($newGoods as $k=>$newGood)
                                        @if($k>22)
                                            @if($k<26)
                                                <div class="item">
                                                    <div class="item-inner product-layout transition product-grid">
                                                        <div class="product-item-container">
                                                            <div class="left-block left-b">

                                                                <div class="product-image-container second_img">
                                                                    <a href="{{route('showGoods',$newGood)}}"
                                                                       target="_self" title="Duis aute irure ">
                                                                        <img
                                                                            src="{{$newGood->pictures[0]}}"
                                                                            class="img-1 img-responsive">
                                                                        <img
                                                                            src="{{$newGood->pictures[0]}}"
                                                                            class="img-2 img-responsive">
                                                                    </a>
                                                                </div>
                                                                <!--quickview-->
                                                                <div class="so-quickview">
                                                                    <a class="iframe-link btn-button quickview quickview_handler visible-lg"
                                                                       href="{{route('quickView',$newGood)}}"
                                                                       title="Quick view"
                                                                       data-fancybox-type="iframe"><i
                                                                            class="fa fa-eye"></i><span>快速查看</span></a>
                                                                </div>
                                                                <!--end quickview-->

                                                            </div>
                                                            <div class="right-block">
                                                                <div class="button-group so-quickview cartinfo--left">
                                                                    <a href="{{route('quickView',$newGood)}}"></a>
                                                                    <button type="button" class="addToCart"
                                                                            title="加入购物车">
                                                                        <span>加入购物车</span>
                                                                    </button>
                                                                    @auth
                                                                        @if(!in_array($newGood->id,$wishId))
                                                                            <a href="{{route('collect.clickCollect',$newGood['id'])}}"
                                                                               class="icon" data-toggle="tooltip"
                                                                               data-original-title="收藏"><i
                                                                                    class="fa fa-heart"></i>
                                                                            </a>
                                                                        @else
                                                                            <a href="{{route('collect.offCollect',$newGood['id'])}}"
                                                                               class="icon" data-toggle="tooltip"
                                                                               data-original-title="取消收藏"><i
                                                                                    class="fa fa-heart"
                                                                                    style="color: red;"></i>
                                                                            </a>
                                                                        @endif
                                                                    @else
                                                                        <a href="{{route('home.login.loginFrom')}}"
                                                                           class="icon" data-toggle="tooltip"
                                                                           data-original-title="收藏"><i
                                                                                class="fa fa-heart"></i>
                                                                        </a>
                                                                    @endauth

                                                                </div>
                                                                <div class="caption hide-cont">
                                                                    <div class="rating"> @foreach([1,2,3,4,5] as $k=>$v)
                                                                            @if($k<=mt_rand(3,5))
                                                                                <span class=",fa fa-stack">
                                                                <i class="fa fa-star fa-stack-2x"></i>
                                                            </span>
                                                                            @endif
                                                                        @endforeach
                                                                    </div>
                                                                    <h4 style="width: 100%; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
                                                                        <a href="{{route('showGoods',$newGood)}}"
                                                                           title="Pastrami bacon"
                                                                           target="_self">{{$newGood->name}} </a></h4>

                                                                </div>
                                                                <p class="price">
                                                                    <span class="price-new">¥{{$newGood->price}} </span>

                                                                </p>
                                                            </div>

                                                        </div>
                                                    </div>
                                                </div>
                                            @endif
                                        @endif
                                    @endforeach
                                    {{--推荐--}}
                                </div>
                                <!--End extraslider-inner -->
                            </div>
                        </div>
                    </div>
                    <div class="module">
                        <div class="banners banners2">
                            <div class="banner">
                                <a href="#"><img src="{{asset('shop/image/index/huazhuangping.jpg')}}" alt="image"></a>
                            </div>
                        </div>
                    </div>
                    <div class="module">
                        <div class="banners banners2">
                            <div class="banner">
                                <a href="http://shop.mumeng.xyz/list/179"><img src="{{asset('shop/image/index/nuizai.jpg')}}" alt="image"></a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-10 col-md-9 col-sm-8 col-xs-12 main-right">

                    <div class="static-cates">
                        <ul>
                            @foreach($advertisement as $k=>$value)
                                @if($k==0)
                                <li>
                                    <a href="http://shop.mumeng.xyz/list/20"><img width="250;" height="271px;" src="{{$value}}" alt="image"></a>
                                </li>
                                @endif
                                    @if($k==1)
                                        <li>
                                            <a href="http://shop.mumeng.xyz/list/465"><img width="250;" height="271px;" src="{{$value}}" alt="image"></a>
                                        </li>
                                    @endif
                                    @if($k==2)
                                        <li>
                                            <a href="http://shop.mumeng.xyz/list/242"><img width="250;" height="271px;" src="{{$value}}" alt="image"></a>
                                        </li>
                                    @endif
                                    @if($k==3)
                                        <li>
                                            <a href="http://shop.mumeng.xyz/list/420"><img width="250;" height="271px;" src="{{$value}}" alt="image"></a>
                                        </li>
                                    @endif
                                    @if($k==4)
                                        <li>
                                            <a href="http://shop.mumeng.xyz/list/10"><img width="250;" height="271px;" src="{{$value}}" alt="image"></a>
                                        </li>
                                    @endif
                            @endforeach
                        </ul>
                    </div>
                    <!-- Deals -->
                    <div class="module deals-layout1">
                        <div class="head-title">
                            <div class="modtitle">
                                <span>美裙</span>
                                <div class="cslider-item-timer">
                                    <div class="product_time_maxprice">
                                        <div class="item-time">
                                            <div class="item-timer">
                                                <div class="defaultCountdown-30"></div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <a class="viewall" href="">查看所有</a>
                            </div>
                        </div>
                        @foreach($bigData as $datum)
                            @if($datum['name']=='裙子')

                                <div class="modcontent">
                                    <div id="so_deal_1" class="so-deal style1">
                                        <div class="extraslider-inner products-list yt-content-slider" data-rtl="yes"
                                             data-autoplay="no" data-autoheight="no" data-delay="4" data-speed="0.6"
                                             data-margin="30" data-items_column00="6" data-items_column0="5"
                                             data-items_column1="3" data-items_column2="2" data-items_column3="2"
                                             data-items_column4="1" data-arrows="yes" data-pagination="no"
                                             data-lazyload="yes"
                                             data-loop="yes" data-hoverpause="yes">
                                            {{--美裙--}}
                                            @foreach($datum['goods'] as $good)
                                                <div class="item">
                                                    <div class="item-inner product-layout transition product-grid">
                                                        <div class="product-item-container">
                                                            <div class="left-block left-b">
                                                                <div class="product-image-container second_img">
                                                                    <a href="{{route('showGoods',$good)}}" target="_self"
                                                                       title="Pastrami bacon">
                                                                        <img
                                                                            src="{{$good['pictures'][0]}}"
                                                                            class="img-1 img-responsive">
                                                                        <img
                                                                            src="{{$good['pictures'][0]}}"
                                                                            class="img-2 img-responsive">
                                                                    </a>
                                                                </div>
                                                                <!--quickview-->
                                                                <div class="so-quickview">
                                                                    <a class="iframe-link btn-button quickview quickview_handler visible-lg"
                                                                       href="{{route('quickView',$good)}}"
                                                                       data-fancybox-type="iframe"><i
                                                                            class="fa fa-eye"></i><span>快速查看</span></a>
                                                                </div>
                                                                <!--end quickview-->

                                                            </div>
                                                            <div class="right-block">
                                                                <div class="button-group so-quickview cartinfo--left">
                                                                    <a href="{{route('quickView',$good)}}">
                                                                        <button type="button" class="addToCart"
                                                                                title="加入购物车">
                                                                            <span>加入购物车 </span>
                                                                        </button>
                                                                    </a>
                                                                    @auth
                                                                        @if(!in_array($newGood->id,$wishId))
                                                                            <a href="{{route('collect.clickCollect',$newGood['id'])}}"
                                                                               class="icon" data-toggle="tooltip"
                                                                               data-original-title="收藏"><i
                                                                                    class="fa fa-heart"></i>
                                                                            </a>
                                                                        @else
                                                                            <a href="{{route('collect.offCollect',$newGood['id'])}}"
                                                                               class="icon" data-toggle="tooltip"
                                                                               data-original-title="取消收藏"><i
                                                                                    class="fa fa-heart"
                                                                                    style="color: red;"></i>
                                                                            </a>
                                                                        @endif
                                                                    @else
                                                                        <a href="{{route('home.login.loginFrom')}}"
                                                                           class="icon" data-toggle="tooltip"
                                                                           data-original-title="收藏"><i
                                                                                class="fa fa-heart"></i>
                                                                        </a>
                                                                    @endauth

                                                                </div>
                                                                <div class="caption hide-cont">
                                                                    <div class="ratings">
                                                                        <div
                                                                            class="rating-box"> @foreach([1,2,3,4,5] as $k=>$v)
                                                                                @if($k<=mt_rand(3,5))
                                                                                    <span class=",fa fa-stack">
                                                                <i class="fa fa-star fa-stack-2x"></i>
                                                            </span>
                                                                                @endif
                                                                            @endforeach
                                                                        </div>
                                                                    </div>
                                                                    <h4 style="width: 190px; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
                                                                        <a href="{{route('showGoods',$good)}}" title="Pastrami bacon"
                                                                           target="_self">{{$good['name']}}</a></h4>

                                                                </div>
                                                                <p class="price">
                                                                    <span class="price-new">¥{{$good['price']}} </span>
                                                                    <span
                                                                        class="price-old">¥{{$good['price']+mt_rand(20,100)}} </span>
                                                                </p>
                                                            </div>

                                                            <div class="item-available">
                                                                <div class="available">
                                                        <span class="color_width" data-title="10%" data-toggle='tooltip'
                                                              style="width: {{mt_rand(10,90)}}%"></span>
                                                                </div>
                                                                <p class="a2">已售: <b>{{mt_rand(10,90)}}</b></p>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            @endforeach
                                            {{--美裙--}}
                                        </div>
                                    </div>
                                </div>

                            @endif
                        @endforeach

                    </div>
                    <!-- End Deals -->

                    <!-- Banners -->
                    <div class="banners3 banners">
                        <div class="item1">
                            <a href="http://shop.mumeng.xyz/list/12"><img style="width: 286px;height: 256px" src="{{asset('shop/image/index/kuzi.jpg')}}" alt="image"></a>
                        </div>
                        <div class="item2">
                            <a href="http://shop.mumeng.xyz/list/17"><img style="width: 542px;height: 256px"  src="{{asset('shop/image/index/jiezhi.jpg')}}" alt="image"></a>
                        </div>
                        <div class="item3">
                            <a href="http://shop.mumeng.xyz/list/20"><img style="width: 286px;height: 256px" src="{{asset('shop/image/index/neiyi.jpg')}}" alt="image"></a>
                        </div>
                    </div>
                    <!-- end Banners -->

                    <!-- Category Slider 1 -->
                    <div id="so_category_slider_1" class="so-category-slider container-slider module cateslider1">
                        @foreach($bigData as $datum)
                            @if($datum['name']=='美妆')
                                <div class="modcontent">
                                    <div class="page-top">
                                        <div class="page-title-categoryslider">美妆</div>
                                        <div class="item-sub-cat">
                                            <ul>
                                                @foreach($datum['san'] as $classify)
                                                    <li><a href="#" title="Smartphone"
                                                           target="_self">{{$classify['name']}}</a>
                                                    </li>
                                                @endforeach
                                            </ul>
                                        </div>
                                    </div>

                                    <div class="categoryslider-content">
                                        <div class="item-cat-image" style="min-height: 351px;">
                                            <a href="#" title="Technology" target="_self">
                                                <img style="width: 250px;height: 340px;" class="categories-loadimage" alt="Technology"
                                                     src="{{asset('shop/image/index/heimeigui.jpg')}}/">
                                            </a>
                                        </div>
                                        <div class="slider category-slider-inner products-list yt-content-slider"
                                             data-rtl="yes" data-autoplay="no" data-autoheight="no" data-delay="4"
                                             data-speed="0.6" data-margin="30" data-items_column00="4"
                                             data-items_column0="4" data-items_column1="2" data-items_column2="1"
                                             data-items_column3="2" data-items_column4="1" data-arrows="yes"
                                             data-pagination="no" data-lazyload="yes" data-loop="yes"
                                             data-hoverpause="yes">
                                            @foreach($datum['goods'] as $k=>$good)
                                                @if($k<10)
                                                    <div class="item">
                                                        <div class="item-inner product-layout transition product-grid">
                                                            <div class="product-item-container">
                                                                <div class="left-block left-b">

                                                                    <div class="product-image-container second_img">
                                                                        <a href="{{route('showGoods',$good)}}" target="_self"
                                                                           title="Lastrami bacon">
                                                                            <img src="{{$good['pictures'][0]}}"
                                                                                 class="img-1 img-responsive"
                                                                                 alt="image1">
                                                                            <img src="{{$good['pictures'][0]}}"
                                                                                 class="img-2 img-responsive"
                                                                                 alt="image2">
                                                                        </a>
                                                                    </div>
                                                                    <!--quickview-->
                                                                    <div class="so-quickview">
                                                                        <a class="iframe-link btn-button quickview quickview_handler visible-lg"
                                                                           href="{{route('quickView',$good)}}]"
                                                                           title="Quick view"
                                                                           data-fancybox-type="iframe"><i
                                                                                class="fa fa-eye"></i><span>快速查看</span></a>
                                                                    </div>
                                                                    <!--end quickview-->


                                                                </div>
                                                                <div class="right-block">
                                                                    <div
                                                                        class="button-group so-quickview cartinfo--left">
                                                                        <a href="{{route('quickView',$good)}}">
                                                                            <button type="button" class="addToCart"
                                                                                    title="加入购物车">
                                                                                <span>加入购物车 </span>
                                                                            </button>
                                                                        </a>
                                                                        @auth
                                                                            @if(!in_array($newGood->id,$wishId))
                                                                                <a href="{{route('collect.clickCollect',$newGood['id'])}}"
                                                                                   class="icon" data-toggle="tooltip"
                                                                                   data-original-title="收藏"><i
                                                                                        class="fa fa-heart"></i>
                                                                                </a>
                                                                            @else
                                                                                <a href="{{route('collect.offCollect',$newGood['id'])}}"
                                                                                   class="icon" data-toggle="tooltip"
                                                                                   data-original-title="取消收藏"><i
                                                                                        class="fa fa-heart"
                                                                                        style="color: red;"></i>
                                                                                </a>
                                                                            @endif
                                                                        @else
                                                                            <a href="{{route('home.login.loginFrom')}}"
                                                                               class="icon" data-toggle="tooltip"
                                                                               data-original-title="收藏"><i
                                                                                    class="fa fa-heart"></i>
                                                                            </a>
                                                                        @endauth

                                                                    </div>
                                                                    <div class="caption hide-cont">
                                                                        <div class="ratings">
                                                                            @foreach([1,2,3,4,5] as $k=>$v)
                                                                                @if($k<=mt_rand(3,5))
                                                                                    <span class=",fa fa-stack">
                                                                <i class="fa fa-star fa-stack-2x"></i>
                                                            </span>
                                                                                @endif
                                                                            @endforeach
                                                                        </div>
                                                                        <h4 style="width: 190px; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
                                                                            <a href="{{route('showGoods',$good)}}"
                                                                               title="Pastrami bacon"
                                                                               target="_self">{{$good['name']}}</a></h4>

                                                                    </div>
                                                                    <p class="price">
                                                                        <span
                                                                            class="price-new">¥{{$good['price']}}</span>
                                                                    </p>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                @endif
                                            @endforeach
                                        </div>
                                    </div>
                                </div>
                            @endif
                        @endforeach
                    </div>

                    <!-- end Category Slider 1 -->

                    <!-- Category Slider 2 -->
                    <div id="so_category_slider_2" class="so-category-slider container-slider module cateslider2">
                        @foreach($bigData as $datum)
                            @if($datum['name']=='包包')
                                <div class="modcontent">
                                    <div class="page-top">
                                        <div class="page-title-categoryslider">包包</div>
                                        <div class="item-sub-cat">
                                            <ul>
                                                @foreach($datum['san'] as $classify)
                                                    <li><a href="#" title="Smartphone"
                                                           target="_self">{{$classify['name']}}</a>
                                                    </li>
                                                @endforeach

                                            </ul>
                                        </div>
                                    </div>

                                    <div class="categoryslider-content">
                                        <div class="item-cat-image" style="min-height: 351px;">
                                            <a href="#" title="Funiture & Decor" target="_self">
                                                <img width="250px"; height="340px;" class="categories-loadimage" alt="Funiture & Decor"
                                                     src="{{asset('shop/image/index/bao2.jpg')}}">
                                            </a>
                                        </div>
                                        <div class="slider category-slider-inner products-list yt-content-slider"
                                             data-rtl="yes"
                                             data-autoplay="no" data-autoheight="no" data-delay="4" data-speed="0.6"
                                             data-margin="30" data-items_column00="4" data-items_column0="4"
                                             data-items_column1="2" data-items_column2="1" data-items_column3="2"
                                             data-items_column4="1" data-arrows="yes" data-pagination="no"
                                             data-lazyload="yes"
                                             data-loop="yes" data-hoverpause="yes">
                                            @foreach($datum['goods'] as $k=>$good)
                                                @if($k<10)
                                                    <div class="item">
                                                        <div class="item-inner product-layout transition product-grid">
                                                            <div class="product-item-container">
                                                                <div class="left-block left-b"
                                                                     style="width: 200px; height: 200px;">
                                                                    <div class="product-image-container second_img">
                                                                        <a href="product.html" target="_self"
                                                                           title="Sunt inculpa qui">
                                                                            <img
                                                                                src="{{$good['pictures'][0]}}"
                                                                                class="img-1 img-responsive"
                                                                                alt="image1">
                                                                            <img
                                                                                src="{{$good['pictures'][0]}}"
                                                                                class="img-2 img-responsive"
                                                                                alt="image2">
                                                                        </a>
                                                                    </div>
                                                                    <!--quickview-->
                                                                    <div class="so-quickview">
                                                                        <a class="iframe-link btn-button quickview quickview_handler visible-lg"
                                                                           href="{{route('quickView',$good)}}"
                                                                           title="快速查看"
                                                                           data-fancybox-type="iframe"><i
                                                                                class="fa fa-eye"></i><span>快速查看</span></a>
                                                                    </div>
                                                                    <!--end quickview-->


                                                                </div>
                                                                <div class="right-block">
                                                                    <div
                                                                        class="button-group so-quickview cartinfo--left">
                                                                        <a href="{{route('quickView',$good)}}">
                                                                            <button type="button" class="addToCart"
                                                                                    title="加入购物车">
                                                                                <span>加入购物车 </span>
                                                                            </button>
                                                                        </a>
                                                                        @auth
                                                                            @if(!in_array($newGood->id,$wishId))
                                                                                <a href="{{route('collect.clickCollect',$newGood['id'])}}"
                                                                                   class="icon" data-toggle="tooltip"
                                                                                   data-original-title="收藏"><i
                                                                                        class="fa fa-heart"></i>
                                                                                </a>
                                                                            @else
                                                                                <a href="{{route('collect.offCollect',$newGood['id'])}}"
                                                                                   class="icon" data-toggle="tooltip"
                                                                                   data-original-title="取消收藏"><i
                                                                                        class="fa fa-heart"
                                                                                        style="color: red;"></i>
                                                                                </a>
                                                                            @endif
                                                                        @else
                                                                            <a href="{{route('home.login.loginFrom')}}"
                                                                               class="icon" data-toggle="tooltip"
                                                                               data-original-title="收藏"><i
                                                                                    class="fa fa-heart"></i>
                                                                            </a>
                                                                        @endauth
                                                                    </div>
                                                                    <div class="caption hide-cont">
                                                                        <div class="ratings">
                                                                            <div
                                                                                class="rating-box">@foreach([1,2,3,4,5] as $k=>$v)
                                                                                    @if($k<=mt_rand(3,5))
                                                                                        <span class=",fa fa-stack">
                                                                <i class="fa fa-star fa-stack-2x"></i>
                                                            </span>
                                                                                    @endif
                                                                                @endforeach
                                                                            </div>
                                                                        </div>
                                                                        <h4 style="width: 190px; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
                                                                            <a href="{{route('showGoods',$good)}}"
                                                                               title="Pastrami bacon"
                                                                               target="_self">{{$good['name']}}</a></h4>

                                                                    </div>
                                                                    <p class="price">
                                                                        <span
                                                                            class="price-new">¥{{$good['price']}}</span>

                                                                    </p>
                                                                </div>

                                                            </div>
                                                        </div>
                                                    </div>
                                                @endif
                                            @endforeach

                                        </div>
                                    </div>
                                </div>
                            @endif
                        @endforeach
                    </div>
                    <!-- end Category Slider 2 -->

                    <!-- Category Slider 3 -->
                    <div id="so_category_slider_3" class="so-category-slider container-slider module cateslider1">
                        @foreach($bigData as $datum)
                            @if($datum['name']=='配饰')
                                <div class="modcontent">
                                    <div class="page-top">
                                        <div class="page-title-categoryslider">配饰</div>
                                        <div class="item-sub-cat">
                                            <ul>
                                                @foreach($datum['san'] as $classify)
                                                    <li><a href="{{route('list',$classify)}}" title="Smartphone"
                                                           target="_self">{{$classify['name']}}</a></li>
                                                @endforeach
                                            </ul>
                                        </div>
                                    </div>

                                    <div class="categoryslider-content">
                                        <div class="item-cat-image" style="min-height: 351px;">
                                            <a href="http://shop.mumeng.xyz/list/17" title="Fashion & Accessories" target="_self">
                                                <img style="width: 226px;height: 308px" class="categories-loadimage" alt="Fashion & Accessories"
                                                     src="{{asset('shop/image/index/shoushi.jpg')}}">
                                            </a>
                                        </div>
                                        <div class="slider category-slider-inner products-list yt-content-slider"
                                             data-rtl="yes"
                                             data-autoplay="no" data-autoheight="no" data-delay="4" data-speed="0.6"
                                             data-margin="30" data-items_column00="4" data-items_column0="4"
                                             data-items_column1="2" data-items_column2="1" data-items_column3="2"
                                             data-items_column4="1" data-arrows="yes" data-pagination="no"
                                             data-lazyload="yes"
                                             data-loop="yes" data-hoverpause="yes">
                                            @foreach($datum['goods'] as $k=>$good)
                                                @if($k<10)
                                                    <div class="item">
                                                        <div class="item-inner product-layout transition product-grid">
                                                            <div class="product-item-container">
                                                                <div class="left-block left-b"
                                                                     style="width: 200px; height: 200px;">

                                                                    <div class="product-image-container second_img">
                                                                        <a href="{{route('showGoods',$good)}}"
                                                                           target="_self" title="Lastrami bacon">
                                                                            <img
                                                                                src="{{$good['pictures'][0]}}"
                                                                                class="img-1 img-responsive"
                                                                                alt="image1">
                                                                            <img
                                                                                src="{{$good['pictures'][0]}}"
                                                                                class="img-2 img-responsive"
                                                                                alt="image2">
                                                                        </a>
                                                                    </div>
                                                                    <!--quickview-->
                                                                    <div class="so-quickview">
                                                                        <a class="iframe-link btn-button quickview quickview_handler visible-lg"
                                                                           href="{{route('quickView',$good)}}]"
                                                                           title="Quick view"
                                                                           data-fancybox-type="iframe"><i
                                                                                class="fa fa-eye"></i><span>快速查看</span></a>
                                                                    </div>
                                                                    <!--end quickview-->


                                                                </div>
                                                                <div class="right-block">
                                                                    <div
                                                                        class="button-group so-quickview cartinfo--left">
                                                                        <a href="{{route('quickView',$good)}}">
                                                                            <button type="button" class="addToCart"
                                                                                    title="加入购物车">
                                                                                <span>加入购物车 </span>
                                                                            </button>
                                                                        </a>
                                                                        @auth
                                                                            @if(!in_array($newGood->id,$wishId))
                                                                                <a href="{{route('collect.clickCollect',$newGood['id'])}}"
                                                                                   class="icon" data-toggle="tooltip"
                                                                                   data-original-title="收藏"><i
                                                                                        class="fa fa-heart"></i>
                                                                                </a>
                                                                            @else
                                                                                <a href="{{route('collect.offCollect',$newGood['id'])}}"
                                                                                   class="icon" data-toggle="tooltip"
                                                                                   data-original-title="取消收藏"><i
                                                                                        class="fa fa-heart"
                                                                                        style="color: red;"></i>
                                                                                </a>
                                                                            @endif
                                                                        @else
                                                                            <a href="{{route('home.login.loginFrom')}}"
                                                                               class="icon" data-toggle="tooltip"
                                                                               data-original-title="收藏"><i
                                                                                    class="fa fa-heart"></i>
                                                                            </a>
                                                                        @endauth

                                                                    </div>
                                                                    <div class="caption hide-cont">
                                                                        <div class="ratings">
                                                                            <div
                                                                                class="rating-box">@foreach([1,2,3,4,5] as $k=>$v)
                                                                                    @if($k<=mt_rand(3,5))
                                                                                        <span class=",fa fa-stack">
                                                                <i class="fa fa-star fa-stack-2x"></i>
                                                            </span>
                                                                                    @endif
                                                                                @endforeach
                                                                            </div>
                                                                        </div>
                                                                        <h4 style="width: 190px; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
                                                                            <a href="{{route('showGoods',$good)}}]"
                                                                               title="Pastrami bacon"
                                                                               target="_self">{{$good['name']}}</a></h4>

                                                                    </div>
                                                                    <p class="price">
                                                                        <span
                                                                            class="price-new">¥{{$good['price']}}</span>

                                                                    </p>
                                                                </div>

                                                            </div>
                                                        </div>
                                                    </div>
                                                @endif
                                            @endforeach


                                        </div>
                                    </div>
                                </div>
                            @endif
                        @endforeach
                    </div>
                    <!-- end Category Slider 3 -->

                    <!-- Banners -->
                    <div class="banners4 banners">
                        <div class="row">
                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                                <a href="#"><img width="670px;" height="170px" src="{{asset('shop/image/index/timg.jpg')}}" alt="image"></a>
                            </div>
                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                                <a href="http://shop.mumeng.xyz/list/446"><img width="670px;" height="170px" src="{{asset('shop/image/index/bioa.png')}}" alt="image"></a>
                            </div>
                        </div>
                    </div>
                    <!-- end Banners -->

                    <!-- Listing tabs -->
                    <div class="module listingtab-layout1">

                        <div id="so_listing_tabs_1" class="so-listing-tabs first-load">
                            <div class="loadeding"></div>
                            <div class="ltabs-wrap">
                                <div class="ltabs-tabs-container" data-delay="300" data-duration="600"
                                     data-effect="starwars" data-ajaxurl="" data-type_source="0" data-lg="5" data-md="3"
                                     data-sm="2" data-xs="1" data-margin="30">
                                    <!--Begin Tabs-->
                                    <div class="ltabs-tabs-wrap">
                                        <span class="ltabs-tab-selected">Bathroom</span> <span
                                            class="ltabs-tab-arrow">▼</span>
                                        <div class="item-sub-cat">
                                            <ul class="ltabs-tabs cf">
                                                <li class="ltabs-tab tab-sel" data-category-id="20"
                                                    data-active-content=".items-category-20"><span
                                                        class="ltabs-tab-label">运动</span></li>
                                            </ul>
                                        </div>
                                    </div>
                                    <!-- End Tabs-->
                                </div>
                        @foreach($bigData as $datum)
                            @if($datum['name']=='运动')
                                <div class="ltabs-items-container products-list grid">
                                    <!--Begin Items-->
                                    <div class="ltabs-items ltabs-items-selected items-category-20" data-total="16">
                                        <div class="ltabs-items-inner ltabs-slider">
                                        @foreach($datum['goods'] as $k=>$good)
                                            @if($k<10)
                                                    <div class="item">
                                                        <div class="item-inner product-layout transition product-grid">
                                                            <div class="product-item-container">
                                                                <div class="left-block left-b"
                                                                     style="width: 200px; height: 200px;">

                                                                    <div class="product-image-container second_img">
                                                                        <a href="{{route('showGoods',$good)}}"
                                                                           target="_self" title="Lastrami bacon">
                                                                            <img
                                                                                src="{{$good['pictures'][0]}}"
                                                                                class="img-1 img-responsive"
                                                                                alt="image1">
                                                                            <img
                                                                                src="{{$good['pictures'][0]}}"
                                                                                class="img-2 img-responsive"
                                                                                alt="image2">
                                                                        </a>
                                                                    </div>
                                                                    <!--quickview-->
                                                                    <div class="so-quickview">
                                                                        <a class="iframe-link btn-button quickview quickview_handler visible-lg"
                                                                           href="{{route('quickView',$good)}}]"
                                                                           title="Quick view"
                                                                           data-fancybox-type="iframe"><i
                                                                                class="fa fa-eye"></i><span>快速查看</span></a>
                                                                    </div>
                                                                    <!--end quickview-->


                                                                </div>
                                                                <div class="right-block">
                                                                    <div
                                                                        class="button-group so-quickview cartinfo--left">
                                                                        <a href="{{route('quickView',$good)}}">
                                                                            <button type="button" class="addToCart"
                                                                                    title="加入购物车">
                                                                                <span>加入购物车 </span>
                                                                            </button>
                                                                        </a>
                                                                        @auth
                                                                            @if(!in_array($newGood->id,$wishId))
                                                                                <a href="{{route('collect.clickCollect',$newGood['id'])}}"
                                                                                   class="icon" data-toggle="tooltip"
                                                                                   data-original-title="收藏"><i
                                                                                        class="fa fa-heart"></i>
                                                                                </a>
                                                                            @else
                                                                                <a href="{{route('collect.offCollect',$newGood['id'])}}"
                                                                                   class="icon" data-toggle="tooltip"
                                                                                   data-original-title="取消收藏"><i
                                                                                        class="fa fa-heart"
                                                                                        style="color: red;"></i>
                                                                                </a>
                                                                            @endif
                                                                        @else
                                                                            <a href="{{route('home.login.loginFrom')}}"
                                                                               class="icon" data-toggle="tooltip"
                                                                               data-original-title="收藏"><i
                                                                                    class="fa fa-heart"></i>
                                                                            </a>
                                                                        @endauth

                                                                    </div>
                                                                    <div class="caption hide-cont">
                                                                        <div class="ratings">
                                                                            <div
                                                                                class="rating-box">@foreach([1,2,3,4,5] as $k=>$v)
                                                                                    @if($k<=mt_rand(3,5))
                                                                                        <span class=",fa fa-stack">
                                                                <i class="fa fa-star fa-stack-2x"></i>
                                                            </span>
                                                                                    @endif
                                                                                @endforeach
                                                                            </div>
                                                                        </div>
                                                                        <h4 style="width: 190px; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
                                                                            <a href="{{route('showGoods',$good)}}]"
                                                                               title="Pastrami bacon"
                                                                               target="_self">{{$good['name']}}</a></h4>

                                                                    </div>
                                                                    <p class="price">
                                                                        <span
                                                                            class="price-new">¥{{$good['price']}}</span>

                                                                    </p>
                                                                </div>

                                                            </div>
                                                        </div>
                                                    </div>
@endif
                                            @endforeach
                                        </div>

                                    </div>
                                    <div class="ltabs-items items-category-18 grid" data-total="16">
                                        <div class="ltabs-loading"></div>

                                    </div>
                                    <div class="ltabs-items  items-category-25 grid" data-total="16">
                                        <div class="ltabs-loading"></div>
                                    </div>
                                    <!--End Items-->
                                </div>
@endif
                                        @endforeach
                            </div>
                        </div>
                    </div>
                    <!-- end Listing tabs -->

                </div>
            </div>
        </div>
    </div>
    <!-- //Main Container -->
    <!-- Footer Container -->
@include('home.public.footer')
<!-- //end Footer Container -->
</div>
@include('home.public.js')
